package com.hz.lowb.nami.base.dao;

import com.hz.lowb.nami.base.dto.Tag;
import org.apache.ibatis.annotations.Param;

/**
 * Created by tfw2302 on 2017/1/5.
 */
public interface TagDao {

    long getIdByName(@Param("name") String tagName);

    int countByName(@Param("name") String tagName);

    int save(Tag tag);

}
